<style>
    .btn-juse{
        background-color: #00bcd4;
        color: #fff;
    }
    .btn-juse:hover{
        color: #fff;
        background-color: #009db1;
    }
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#ws_sku" data-toggle="tab">未售</a></li>
            <li><a href="#ys_sku" data-toggle="tab">已售</a></li>
        </ul>
    </div>

    <input type="hidden" id="price_id" value="{$price_id}" />

    <div class="panel-body" style="padding-top: 0;">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="ws_sku">
                <div class="widget-body no-padding">
                    <div id="toolbar1" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled" title="删除选中" ><i class="fa fa-trash"></i> 删除选中</a>
                        <a class="btn btn-info btn-repeat" href="javascript:;">清除重复</a>
                        <a class="btn btn-danger btn-ept" href="javascript:;">清空库存</a>
                        <a class="btn btn-info-light btn-export"  href="{:url('goods/export')}?id={$price_id}" target="_blank">导出库存</a>

                   </div>
                    <table id="table1"
                           class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="false"
                           data-operate-del="goods/stock_del"
                           width="100%">
                    </table>
                </div>
            </div>

            <div class="tab-pane fade" id="ys_sku">
                <div class="widget-body no-padding">
                    <div id="toolbar2" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <!--<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('goods/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>-->
                        <!--<a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('goods/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>-->
<!--                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('goods/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>-->
<!--                        <a class="btn btn-info btn-repeat" data-params="action=repeat" data-url="goods/repeat" href="javascript:;">清除重复</a>-->

                    </div>
                    <table id="table2"
                           class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="false"
                           data-operate-del="goods/stock_del"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
